<template>
  <div class="pages-content-scroll">
     <el-backtop target=".pages-content-scroll"></el-backtop>
    <slot></slot>
  </div>
</template>
<script>
  export default {
   name: 'BackTop'
  }
</script>
<style scoped>
  .pages-content-scroll{
    /* 必须撑满整个屏幕 */
    position: absolute;
    /* top: 15%;
    bottom: 10%;
    left: 15%;
    right: 0; */

    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    overflow-x: hidden;
    /* border: 1px salmon solid; */
  }
</style>
